/*
 *************************************************************************
 *西瑞克斯通信技术股份有限公司研发管理系统
 *版 本: 1.0   
 *日 期：02/05/2012    
 *作 者： 王浩 QQ:873987060   
 *************************************************************************   
 */
package com.application.yfproject.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.manager.IBaseBean;

/**
 * Description:YfProject实体<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: Code Generator <br />
 * 
 * History: <br />
 * 
 * 02/05/2012 王浩.
 * 
 */
@Entity
@Table(name = "yf_project")
public class YfProject implements IBaseBean {

	/** serialVersionUID */
	protected static final long serialVersionUID = -1L;

	public YfProject() {

	}

	@Id
	@Column(name = "id")
	private String id;

	@Column(name = "project_name")
	private String projectName;

	@Column(name = "project_type")
	private String projectType;

	@Column(name = "project_org")
	private String projectOrg;

	@Column(name = "project_no")
	private String projectNo;

	@Column(name = "initiate_person")
	private String initiatePerson;

	@Column(name = "initiate_year")
	private Long initiateYear;

	@Column(name = "operateid")
	private String operateid;

	@Column(name = "create_date")
	private Date createDate;
    
	@Column(name = "project_manager")
	private String projectManager;
	
	@Transient
	private String rname;
	
	@Column(name = "oid")
	private String oid;
	
	@Column(name = "node_status")
	private Long nodeStatus;
	
	@Transient
	private String projectOrgName;
	
	@Transient
	private String projectYfjl;
	/**
	 * @return Returns the Id.
	 */
	public String getId() {
		return this.id;
	}

	/**
	 * @param id
	 *            Set the id.
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return Returns the ProjectName.
	 */
	public String getProjectName() {
		return this.projectName;
	}

	/**
	 * @param projectName
	 *            Set the projectName.
	 */
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	/**
	 * @return Returns the ProjectType.
	 */
	public String getProjectType() {
		return this.projectType;
	}

	/**
	 * @param projectType
	 *            Set the projectType.
	 */
	public void setProjectType(String projectType) {
		this.projectType = projectType;
	}

	/**
	 * @return Returns the ProjectOrg.
	 */
	public String getProjectOrg() {
		return this.projectOrg;
	}

	/**
	 * @param projectOrg
	 *            Set the projectOrg.
	 */
	public void setProjectOrg(String projectOrg) {
		this.projectOrg = projectOrg;
	}

	/**
	 * @return Returns the ProjectNo.
	 */
	public String getProjectNo() {
		return this.projectNo;
	}

	/**
	 * @param projectNo
	 *            Set the projectNo.
	 */
	public void setProjectNo(String projectNo) {
		this.projectNo = projectNo;
	}

	/**
	 * @return Returns the InitiatePerson.
	 */
	public String getInitiatePerson() {
		return this.initiatePerson;
	}

	/**
	 * @param initiatePerson
	 *            Set the initiatePerson.
	 */
	public void setInitiatePerson(String initiatePerson) {
		this.initiatePerson = initiatePerson;
	}

	/**
	 * @return Returns the InitiateYear.
	 */
	public Long getInitiateYear() {
		return this.initiateYear;
	}

	/**
	 * @param initiateYear
	 *            Set the initiateYear.
	 */
	public void setInitiateYear(Long initiateYear) {
		this.initiateYear = initiateYear;
	}

	/**
	 * @return Returns the Operateid.
	 */
	public String getOperateid() {
		return this.operateid;
	}

	/**
	 * @param operateid
	 *            Set the operateid.
	 */
	public void setOperateid(String operateid) {
		this.operateid = operateid;
	}

	/**
	 * @return Returns the CreateDate.
	 */
	public Date getCreateDate() {
		return this.createDate;
	}

	/**
	 * @param createDate
	 *            Set the createDate.
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String toString() {
		return ReflectionToStringBuilder.toString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public String getProjectManager() {
		return projectManager;
	}

	public void setProjectManager(String projectManager) {
		this.projectManager = projectManager;
	}

	public String getRname() {
		return rname;
	}

	public void setRname(String rname) {
		this.rname = rname;
	}

	public String getOid() {
		return oid;
	}

	public void setOid(String oid) {
		this.oid = oid;
	}

	public String getProjectOrgName() {
		return projectOrgName;
	}

	public void setProjectOrgName(String projectOrgName) {
		this.projectOrgName = projectOrgName;
	}

	public Long getNodeStatus() {
		return nodeStatus;
	}

	public void setNodeStatus(Long nodeStatus) {
		this.nodeStatus = nodeStatus;
	}

	public String getProjectYfjl() {
		return projectYfjl;
	}

	public void setProjectYfjl(String projectYfjl) {
		this.projectYfjl = projectYfjl;
	}
}
